import requests

def fun1():
    url = "http://192.168.1.211:9000/api/v1/articles?page=1&order_by=id&order_method=asc"

    payload={}
    headers = {}

    response = requests.request("GET", url, headers=headers, data=payload)

    print(response.text)

def fun2():
    url = "http://192.168.1.211:9000/api/v1/article/types"

    payload={}
    headers = {}

    response = requests.request("GET", url, headers=headers, data=payload)

    print(response.text)


if __name__ == "__main__":
    fun1()
    fun2()